﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
using Ekton_Manage_DomainAbstractions;
#nullable disable

namespace Ekton_Manage_DomainCore.Aggregate
{
    [Table("sys_permission")]
    public partial class sys_permission : Entity<int>
    { 
        [Key]
        public int id { get; set; }

        public string? title { get; set; }

        public int? btnCode { get; set; }
        public string? icon { get; set; }


        public string? url { get; set; }

        public string? component { get; set; }


        public int pid { get; set; }
   
        public byte? type { get; set; }
        public byte? status { get; set; }
        public byte? deleted { get; set; }

        public string? path { get; set; }
        public string? pidname { get; set; }
        public string? redirect { get; set; }
        public string meta { get; set; }
        public string name { get; set; }
        public int? order_num { get; set; }
    }
}
